package com.sky.mapper;

import com.sky.entity.DishFlavor;

import java.util.List;

public interface DishFlavorMapper {

    /**
     * 批量插入数据
     * @param flavors
     */
    void insert(List<DishFlavor> flavors);

    /**
     * 删除
     * @param ids
     */
    void deleteDishFlavorByDishId(List<Long> ids);

    /**
     * 根据dishid查询全部信息
     */
    List<DishFlavor> getDishFlavorByDishId(Long dishId);
}
